package it.polimi.travelDreamEJB.personalizedpacketmanagement.dto;

import it.polimi.travelDreamEJB.basicproductmanagement.dto.ExcursionDTO;
import it.polimi.travelDreamEJB.basicproductmanagement.dto.FlightDTO;
import it.polimi.travelDreamEJB.basicproductmanagement.dto.HotelDTO;
import it.polimi.travelDreamEJB.usermanagement.dto.UserDTO;

import java.util.ArrayList;
import java.util.List;

import javax.validation.constraints.NotNull;

public class PersonalizedPacketDTO {

	@NotNull
	private int id_personalized_packet;

	private HotelDTO hotel;

	private FlightDTO departureFlight;

	private FlightDTO returnFlight;

	private List<UserDTO> buyer;

	private List<UserDTO> guest;

	@NotNull
	private UserDTO user;

	private List<ExcursionDTO> excursions;

	public PersonalizedPacketDTO() {
		buyer = new ArrayList<UserDTO>();
		guest = new ArrayList<UserDTO>();
	}

	public HotelDTO getHotel() {
		return hotel;
	}

	public FlightDTO getDepartureFlight() {
		return departureFlight;
	}

	public FlightDTO getReturnFlight() {
		return returnFlight;
	}

	public UserDTO getUser() {
		return user;
	}

	public List<ExcursionDTO> getExcursions() {
		return excursions;
	}

	public int getId_personalized_packet() {
		return id_personalized_packet;
	}

	public void setId_personalized_packet(int id_personalized_packet) {
		this.id_personalized_packet = id_personalized_packet;
	}

	public void setHotel(HotelDTO hotel) {
		this.hotel = hotel;
	}

	public void setDepartureFlight(FlightDTO departureFlight) {
		this.departureFlight = departureFlight;
	}

	public void setReturnFlight(FlightDTO returnFlight) {
		this.returnFlight = returnFlight;
	}

	public void setUser(UserDTO user) {
		this.user = user;
	}

	public void setExcursions(List<ExcursionDTO> excursions) {
		this.excursions = excursions;
	}

	public List<UserDTO> getBuyer() {
		return buyer;
	}

	public void setBuyer(List<UserDTO> buyer) {
		this.buyer = buyer;
	}

	public List<UserDTO> getGuest() {
		return guest;
	}

	public void setGuest(List<UserDTO> guest) {
		this.guest = guest;
	}

	
	
	
}
